﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIWindows.ViewModels.Dialogs
{
    public class MESMessageShowViewModel
    {
        /// <summary>
        /// 接口名
        /// </summary>
        public string InterfaceName { get; set; }
        /// <summary>
        /// 消息编码
        /// </summary>
        public string MessageEncoding { get; set; }
        /// <summary>
        /// 消息内容
        /// </summary>
        public string MessageContent { get; set; }

        /// <summary>
        /// 构造方法
        /// </summary>
        /// <param name="interfaceName">接口名</param>
        /// <param name="messageEncoding">消息编码</param>
        /// <param name="messageContent">消息内容</param>
        public MESMessageShowViewModel(string interfaceName, string messageEncoding, string messageContent)
        {
            InterfaceName = interfaceName;
            MessageEncoding = messageEncoding;
            MessageContent = messageContent;
        }
    }
}
